﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;

namespace Coldairarrow.Entity.Interface
{
    /// <summary>
    /// 2C订单
    /// </summary>
    /// 
    public class ToCOrder
    {
        public string RowId { get; set; }
        /// <summary>
        /// id	
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 仓库代码	
        /// </summary>
        public string warehouseCode { get; set; }
        /// <summary>
        /// 参考号	
        /// </summary>
        public string referenceNo { get; set; }
        /// <summary>
        /// 仓库日期	
        /// </summary>
        public string warehouseDate { get; set; }
        /// <summary>
        /// 店铺	
        /// </summary>
        public string store { get; set; }
        /// <summary>
        /// 平台订单号	
        /// </summary>
        public string platformNo { get; set; }
        /// <summary>
        /// 平台	
        /// </summary>
        public string platform { get; set; }
        /// <summary>
        /// poNo	
        /// </summary>
        public string po { get; set; }
        /// <summary>
        /// 母单跟踪号
        /// </summary>
        public string masterTrackingNos { get; set; }
        /// <summary>
        /// 跟踪号，按逗号分隔	
        /// </summary>
        public string trackingNos { get; set; }
        /// <summary>
        /// 状态	
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 创建时间	
        /// </summary>
        public string createTime { get; set; }
        /// <summary>
        /// 提交时间	
        /// </summary>
        public string submitTime { get; set; }
        /// <summary>
        /// 出库时间	
        /// </summary>
        public string deliveryTime { get; set; }
        /// <summary>
        /// 承运商名称	
        /// </summary>
        public string carrierName { get; set; }
        /// <summary>
        /// 快递方式	
        /// </summary>
        public string expressMode { get; set; }
        /// <summary>
        /// 销售产品代码	
        /// </summary>
        public string saleProductCode { get; set; }
        /// <summary>
        /// 承运商产品名称	
        /// </summary>
        public string carrierProductName { get; set; }
        /// <summary>
        /// 错误提示	
        /// </summary>
        public string errorTips { get; set; }
        /// <summary>
        /// 备注	
        /// </summary>
        public string remark { get; set; }
        /// <summary>
        /// 2C订单号	
        /// </summary>
        public string tocOrderNo { get; set; }
        /// <summary>
        /// 订单号	
        /// </summary>
        public string orderNo { get; set; }

        /// <summary>
        /// 废弃备注	
        /// </summary>
        public string abandonmentReason { get; set; }
        /// <summary>
        /// 是否自动分仓	
        /// </summary>
        public string autoDistributeWarehouse { get; set; }
        /// <summary>
        /// 总费用	
        /// </summary>
        public string totalExpense { get; set; }
        /// <summary>
        /// 总费用币种	
        /// </summary>
        public string totalExpenseCurrency { get; set; }
        /// <summary>
        /// 分区	
        /// </summary>
        public string zoneCode { get; set; }
        /// <summary>
        /// 收件人信息	
        /// </summary>
        public omsTocOrderConsigneeVo omsTocOrderConsigneeVo { get; set; }
        /// <summary>
        /// 包裹信息
        /// </summary>
        public List<packageList> packageList { get; set; }
        /// <summary>
        /// 总数量		
        /// </summary>
        public string totalCount { get; set; }


    }
    public class omsTocOrderConsigneeVo
    {
        /// <summary>
        /// 姓名	
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 公司名		
        /// </summary>
        public string company { get; set; }
        /// <summary>
        /// 手机号		
        /// </summary>
        public string phone { get; set; }
        /// <summary>
        /// 城市		
        /// </summary>
        public string city { get; set; }
        /// <summary>
        /// 邮箱		
        /// </summary>
        public string email { get; set; }
        /// <summary>
        /// 国家代码		
        /// </summary>
        public string countryCode { get; set; }
        /// <summary>
        /// 州/省		
        /// </summary>
        public string province { get; set; }
        /// <summary>
        /// 区		
        /// </summary>
        public string district { get; set; }
        /// <summary>
        /// 门牌		
        /// </summary>
        public string doorplate { get; set; }
        /// <summary>
        /// 邮编		
        /// </summary>
        public string postalCode { get; set; }
        /// <summary>
        /// 详细地址一	
        /// </summary>
        public string street1 { get; set; }
        /// <summary>
        /// 详细地址二		
        /// </summary>
        public string street2 { get; set; }
    }

    public class packageList
    {
        /// <summary>
        /// id	
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// RowId	
        /// </summary>
        public string RowId { get; set; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string orderNo { get; set; }
        /// <summary>
        /// 跟踪号		
        /// </summary>
        public string trackingNo { get; set; }
        /// <summary>
        /// 包裹号	
        /// </summary>
        public string packageNo { get; set; }
        /// <summary>
        /// 状态		
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 包裹的商品		
        /// </summary>
        public List<goodsList> goodsList { get; set; }
        /// <summary>
        /// 货品编码		
        /// </summary>
        public string goodsCode { get; set; }
        /// <summary>
        /// 货品编码(MSKU)	
        /// </summary>
        public string goodsCode_MSKU { get; set; }
        /// <summary>
        /// 数量		
        /// </summary>
        public string quantity { get; set; }
        /// <summary>
        /// 包裹费用明细		
        /// </summary>
        public List<expenseList> expenseList { get; set; }
        /// <summary>
        /// 费用中文名称		
        /// </summary>
        //public string expenseCnName { get; set; }
        /// <summary>
        /// 费用英文名称		
        /// </summary>
        //public string expenseEnName { get; set; }
        /// <summary>
        /// 费用代码		
        /// </summary>
        //public string expenseCode { get; set; }
        /// <summary>
        /// 费用金额		
        /// </summary>
        //public string expense { get; set; }
    }

    public class goodsList
    {
        /// <summary>
        /// 货品编码		
        /// </summary>
        public string goodsCode { get; set; }
        /// <summary>
        /// 数量		
        /// </summary>
        public string quantity { get; set; }
    }

    public class expenseList
    {
        /// <summary>
        /// 费用中文名称		
        /// </summary>
        public string expenseCnName { get; set; }
        /// <summary>
        /// 费用英文名称		
        /// </summary>
        public string expenseEnName { get; set; }
        /// <summary>
        /// 费用代码		
        /// </summary>
        public string expenseCode { get; set; }
        /// <summary>
        /// 费用金额		
        /// </summary>
        public string expense { get; set; }
    }


}
